package net.qhzw.vip.qiyu.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import net.qhzw.vip.qiyu.entity.DtsBarManage;
import net.qhzw.vip.qiyu.entity.DtsBatteryManage;
import net.qhzw.vip.qiyu.model.DtsCellExcel;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletResponse;
import java.util.Map;

public interface DtsBatteryManageService extends IService<DtsBatteryManage> {


    Map<String, Object> findByPage(Page<DtsBatteryManage> page, String electricCabinetCode, Long batteryStatus,String electricCabinetName,
                                   String batteryCode);

    boolean addDtsBatteryManage(DtsBatteryManage dtsBatteryManage);

    boolean updateDtsBatteryManage(DtsBatteryManage dtsBatteryManage);

    void importBattery(MultipartFile file);

    boolean saveBatterys(DtsBatteryManage dtsBatteryManage);

    void importRecharge(MultipartFile file);

    void exportBattery( HttpServletResponse response,String electricCabinetCode, Long batteryStatus,String electricCabinetName,
                        String batteryCode);

    boolean saveBatteryList(DtsBatteryManage dtsBatteryManage);
}
